<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
	<title>跑md5破解</title>
</head>
<body>

<body>
  <div class="bio">
    <span class="first-name">劳勃</span>
    <span class="last-name">多德森</span>
    <span class="city">旧金山</span>
    <span class="state">加利福尼亚州</span>
    <p>我专注前端开发（HTML/CSS/JavaScript），还会一点 Node 和 Ruby。</p>
    <p>从事写作，偶尔也会写点博客。</p>
    <p>尽管我是南方人，但我最近都在美丽的旧金山工作和生活。</p>
  </div>

  <template class="bio-template">
    <dl>
      <dt>名字</dt>
      <dd><content select=".first-name"></content></dd>
      <dt>姓氏</dt>
      <dd><content select=".last-name"></content></dd>
      <dt>城市</dt>
      <dd><content select=".city"></content></dd>
      <dt>州</dt>
      <dd><content select=".state"></content></dd>
    </dl>
    <p><content select=""></content></p>
  </template>

  <script>
    var host = document.querySelector('.bio');
    var root = host.createShadowRoot();
    var template = document.querySelector('.bio-template');
    root.appendChild(template.content);
  </script>
<!-- </body> -->
<script type="text/javascript" src="./node_modules/jquery/dist/jquery.js"></script>
<!-- <script type="text/javascript" src="./node_modules/requirejs/require.js"></script> -->
<!-- <script type="text/javascript" src="./node_modules/md5/md5.js"></script> -->
<script type="text/javascript">
var data = [22015896,13934108,3235271,6375638,2627536,4492979,3535194,56228717,12032178,28893083,8834090,1775980,9429215,4795791,87735535,2452645,53572966,1073626,26680442,26120192,18815073,40502747,13504762,62633597,18248327,86671115,11198319,6186654,7043020,22817805,101469966,2199028,39390125,3236001,350882,1348197,25573942,5252603,13314729,8268441,1658397,20342442,18755,13185836,11083897,48526718,2695358,64808205

];

	function sendCode(i){
		if (!data[i]) {return;}
		$.ajax({
			url:'http://www.qlcoder.com/train/handsomerank?_token=18zeedizkxJwnNSvJ7jiyJFaWPvOBCCohXIYORkt&user=990&checkcode='+data[i],
			dataType:'jsonp'
		}).always(function(){
			sendCode(i+1);
		});

	}


sendCode(0);
	// var volts = 1;
	// var i =0;
	// var code =[];
	// while(code.length<=1000){
	//     var key = '201605059901' + volts + i;
	//     var _md5  = md5(key);
	//     if (_md5.indexOf('000000')>-1&&_md5.substring(0,6)=='000000') {
	//     	code.push(i);
	//     	i=0;
	//     	volts +=1;
	//     }
	//     i++;
	// }
		
 //    b.update(md5.encode())
	// if (true) {};
</script>
</body>
</html>